package Day24;

public class Worker extends Employee {
    public Worker(String name, double salary) {
        super(name, salary);
    }

    public Worker() {
    }
    public void Work(){
        System.out.println(getName() + " 正在工作");
    }

    @Override
    public double getAnnual() {
        return super.getAnnual();
    }
}
